projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14568d
)
tests: Add OT_TEST_DEBUG environment variable
author
Colin Walters
<walters@verbum.org>
Wed, 9 Nov 2011 10:28:13 +0000
(
05:28
-0500)
committer
Colin Walters
<walters@verbum.org>
Wed, 9 Nov 2011 10:29:53 +0000
(
05:29
-0500)
tests/libtest.sh
patch
|
blob
|
history
diff --git
a/tests/libtest.sh
b/tests/libtest.sh
index f6c889b31f0ed1cf51e8a2904c4284a1c1531cbe..8ebedf7c5b889b377815a50e76016ff024d08b75 100644
(file)
--- a/
tests/libtest.sh
+++ b/
tests/libtest.sh
@@
-29,6
+29,10
@@
touch "$test_tmpdir/.test$$"
export G_DEBUG=fatal-warnings
+if test -n "${OT_TESTS_DEBUG}"; then
+ set -x
+fi
+
die () {
if test -z "$OT_TESTS_SAVE_TEMPS"; then
test -f "$test_tmpdir/.test$$" && rm -rf "$test_tmpdir"